package com.example.jizhang.demos.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.jizhang.demos.mapper.AccountMapper;
import com.example.jizhang.demos.pojo.Account;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/** 总账 服务层
 * @author 86195
 */
@Service
public class AccountService extends ServiceImpl<AccountMapper, Account> {

    @Autowired
    private AccountMapper accountMapper;

    public Account getOne() {
        return accountMapper.list();
    }
}
